<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Directory 函数</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="directory.rewind.html">Directory::rewind</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.chdir.html">chdir</a></div>
 <div class="up"><a href="book.dir.html">Directories</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="ref.dir" class="reference">
 <h1 class="title">Directory 函数</h1>

 <div class="partintro">
  <h1 class="title">参见</h1>
  <p class="para">
   For related functions such as <span class="function"><a href="function.dirname.html" class="function">dirname()</a></span>,
   <span class="function"><a href="function.is-dir.html" class="function">is_dir()</a></span>, <span class="function"><a href="function.mkdir.html" class="function">mkdir()</a></span>, and 
   <span class="function"><a href="function.rmdir.html" class="function">rmdir()</a></span>, see the 
   <a href="ref.filesystem.html" class="link">Filesystem</a> section.
  </p>
 </div>

 











































































<h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="function.chdir.html">chdir</a> — 改变目录</li><li><a href="function.chroot.html">chroot</a> — 改变根目录</li><li><a href="function.closedir.html">closedir</a> — 关闭目录句柄</li><li><a href="function.dir.html">dir</a> — 返回一个 Directory 类实例</li><li><a href="function.getcwd.html">getcwd</a> — 取得当前工作目录</li><li><a href="function.opendir.html">opendir</a> — 打开目录句柄</li><li><a href="function.readdir.html">readdir</a> — 从目录句柄中读取条目</li><li><a href="function.rewinddir.html">rewinddir</a> — 倒回目录句柄</li><li><a href="function.scandir.html">scandir</a> — 列出指定路径中的文件和目录</li></ul>
</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="directory.rewind.html">Directory::rewind</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.chdir.html">chdir</a></div>
 <div class="up"><a href="book.dir.html">Directories</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
